package com.fastadmin.pojo;


import com.xphsc.easyjdbc.annotation.CreatedDate;
import com.xphsc.easyjdbc.annotation.ModifiedDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.persistence.*;
import java.util.Date;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder(toBuilder = true)
@Table(name = "t_ayi")
@Entity
@ApiModel(description = "阿姨表")
public class Ayi extends BaseEntity {
    //------------------------------------------------
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    protected Long id;
    @CreatedDate
    protected Date create_time;
    @ModifiedDate
    protected Date update_time;
    //------------------------------------------------
    @ApiModelProperty("展示风格")  private String show_style;
    @ApiModelProperty("自我介绍") private String zi_wo_jie_shao;
    @ApiModelProperty("评价得分")  private String ping_jia;
    @ApiModelProperty("浏览量")  private Integer mi_count;
    @ApiModelProperty("类别ID") private String leibie_id;
    @ApiModelProperty("编号")  private String no;
    @ApiModelProperty("学历") private String name;
    @ApiModelProperty("生日") private String shengri;
    @ApiModelProperty("性别") private String sex;
    @ApiModelProperty("籍贯") private String jiguan;
    @ApiModelProperty("文化程度")  private String wenhuachengdu;
    @ApiModelProperty("从业时间") private String congyeshijian;
    @ApiModelProperty("身高")  private String shengao;
    @ApiModelProperty("婚姻状况")  private String jiehun;
    @ApiModelProperty("健康状况") private String jiankangzhuangkuang;
    @ApiModelProperty("上传时间") private String uptime;
    @ApiModelProperty("阿姨名字") private String ayiname;
    @ApiModelProperty("头像") private String touxiang;
    @ApiModelProperty("生肖")  private String shengxiao;
    @ApiModelProperty("生日") private String birthday;
    @ApiModelProperty("星座") private String xinzuo;
    @ApiModelProperty("展示多图") private String images;
    @ApiModelProperty("展示多图") private String skill;

    /*
     "id": "4",
		"ayi_id": "20150821151802727",
		"show_style": "9",
		"zi_wo_jie_shao": "带过多年宝宝，有很丰富的育儿经验，对宝宝很有爱心、有耐心阿姨素质高，眼里有活，为人老实可靠，性格温顺，易相处。带过最小的宝宝1个多月。阿姨烧饭很拿手，各种家常菜都会做，希望找到一份长期带宝宝的工作。",
		"ping_jia": "4.5",
		"mi_count": "1073",
		"leibie_id": "3",
		"no": "20150821151802727",
		"name": "专科",
		"ShengRi": "1967-07-14",
		"Sex": "女",
		"JiGuan": "江苏射阳",
		"WenHuaChengDu": "4",
		"CongYeShiJian": "3",
		"ShenGao": "",
		"JieHun": "已婚",
		"JianKangZhuangkuang": "未知",
		"uptime": "",
		"ayiname": "曹霞",
		"Touxiang": "20150821152003856.jpg",
		"ShengXiao": "羊",
		"birthday": 53,
		"XinZuo": "巨蟹座",
		"Buyed": "0",
		"Shoucang": false
          */
}
